import api from './index'

// 会员卡页面
export default {
	// 会员卡列表
	fetchMemberList: (params) => api.get('/system/member/appMyMember', params),
	// 会员卡详情
	fetchMemberDetail: (id) => api.get('/system/member/' + id),
	// 会员卡充值门店列表
	rechargeShopList: (params) => api.get('/system/store/allList', params),
	// 会员卡充值可选列表
	fetchStoredType: (params) => api.get('/system/member/rule/pullDown/appList', params),
	// 会员卡充值可选项详情
	fetchStoredTypeDetail: (id) => api.get('/system/member/rule/' + id),
	// 会员卡购买 
	buyCard: (params) => api.post('/system/member/order/payment', params),
	// 会员卡使用记录 
	fetchrecordCard: (params) => api.get('/system/member/appletRecord', params),
	//会员卡续费
	getMemberInfo: (params) => api.post('/system/member/getMemberInfo', params),
	//会员卡充值记录
	appletBuyMemberDetail: (params) => api.get('/system/member/order/appletBuyMemberDetail', params),
	//办理会员卡卡详情
	appletInfo: (params) => api.get('/system/member/rule/appletInfo', params),

}